/**
 * 文件名：****.java
 * 版权：Copyright Lightkit All Rights Reserved.
 * 描述：*****
 */
package com.lightkits.wms.domain.saleticket;

import com.lightkits.framework.common.model.IResult;
import com.lightkits.wms.dto.saleticket.model.SaleTicketHeadDto;
import com.lightkits.wms.dto.saleticket.model.SaleTicketLineDto;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author jing.wei@hand-china.com
 * @date 2019/5/31 5:41
 **/
@Component
public interface CreateSaleTicketService {

    /**
     * 售货单的创建
     *
     * @param headDto
     * @param lineDtos
     * @return
     **/
    IResult createSaleTicket(SaleTicketHeadDto headDto, List<SaleTicketLineDto> lineDtos);
}
